<!DOCTYPE html>
<html>
<head>
    <title>Issue 6920: Pretty print for the Command Editor</title>
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
    <link href="../../_common/testcase.css" type="text/css" rel="stylesheet"/>
</head>
<body>
<header>
    <h1><a href="http://code.google.com/p/fbug/issues/detail?id=6920">Issue 6920</a>:
        Pretty print for the Command Editor</h1>
</header>
<div>
    <section id="description">
        <h3>Steps to reproduce</h3>
        <ol>
            <li>Enable the Console panel</li>
            <li>Open the Command editor</li>
            <li>Type: <code>function test() { return true; }</code></li>
            <li>Click on the <i>Pretty Print</i> button</li>
            <li>The code should be prettified as follows:<br/><br/>
<pre style="color:green">function test() {
    return true;
}</pre>
            </li>
        </ol>
    </section>
    <footer>
        Jan Odvarko &lt;odvarko@gmail.com&gt;
    </footer>
</div>
</body>
</html>
